package com.crm.model.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

/**
 * @ Author ：pym
 * @ Date   ：2021/4/9 13:58
 */
@Data
@AllArgsConstructor
public class CustomerDTO {
    /**
     * 客户名称
     * 企业名称
     */
    @ColumnWidth(12)
    @ExcelProperty(value = "企业名称" ,index = 0)
    private String customerName;

    /**
     * 企业状态
     * 登记状态
     */
    @ColumnWidth(12)
    @ExcelProperty(value = "登记状态" ,index = 1)
    private String enterpriseState;

    /**
     * 法定代表人
     */
    @ColumnWidth(15)
    @ExcelProperty(value = "法定代表人" ,index = 2)
    private String legalRepresentative;

    /**
     * 注册资本
     */
    @ColumnWidth(12)
    @ExcelProperty(value = "注册资本" ,index = 3)
    private String registeredCapital;

    /**注册时间*/
    /**成立日期*/
    @ColumnWidth(12)
    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty(value = "注册时间" ,index = 4)
    private Date registrationTime;


    /**核准日期*/
    @ColumnWidth(12)
    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty(value = "核准日期" ,index = 5)
    private Date dateOfApproval;

    /**省份名称*/
    /**所属省份*/
    @ColumnWidth(12)
    @ExcelProperty(value = "所属省份" ,index = 6)
    private String provinceName;

    /**城市名称*/
    /**所属城市*/
    @ColumnWidth(12)
    @ExcelProperty(value = "所属城市" ,index = 7)
    private String cityName;

    /**区/县名称*/
    /**所属区县*/
    @ColumnWidth(12)
    @ExcelProperty(value = "所属区县" ,index = 8)
    private String countyName;

    /**企业对外手机*/
    /**电话*/
    @ColumnWidth(17)
    @ExcelProperty(value = "电话" ,index = 9)
    private String enterpriseExternalPhone;

    /**企业对外座机*/
    /**更多电话*/
    @ColumnWidth(17)
    @ExcelProperty(value = "更多电话" ,index = 10)
    private String enterpriseExternalLandline;

    /**邮箱*/
    @ColumnWidth(10)
    @ExcelProperty(value = "邮箱" ,index = 11)
    private String email;

    /**更多邮箱*/
    @ColumnWidth(17)
    @ExcelProperty(value = "更多邮箱" ,index = 12)
    private String moreEmail;

    /**统一社会信用代码*/
    @ColumnWidth(22)
    @ExcelProperty(value = "统一社会信用代码" ,index = 13)
    private String unifiedSocialCreditCode;

    /**纳税人识别号*/
    @ColumnWidth(22)
    @ExcelProperty(value = "纳税人识别号" ,index = 14)
    private String taxpayerIdentificationNumber;

    /**注册号*/
    @ColumnWidth(10)
    @ExcelProperty(value = "注册号" ,index = 15)
    private String registrationNumber;

    /**组织机构代码*/
    @ColumnWidth(17)
    @ExcelProperty(value = "组织机构代码" ,index = 16)
    private String organizationCode;

    /**参保人数*/
    @ColumnWidth(12)
    @ExcelProperty(value = "参保人数" ,index = 17)
    private String insuredNumber;

    /**公司类型*/
    /**企业类型*/
    @ColumnWidth(12)
    @ExcelProperty(value = "企业类型" ,index = 18)
    private String companyType;

    /**行业*/
    /**所属行业*/
    @ColumnWidth(17)
    @ExcelProperty(value = "所属行业" ,index = 19)
    private String industry;

    /**曾用名*/
    @ColumnWidth(10)
    @ExcelProperty(value = "曾用名" ,index = 20)
    private String nameUsedBefore;

    /**公司网址*/
    /**网址*/
    @ColumnWidth(12)
    @ExcelProperty(value = "网址" ,index = 21)
    private String companyWebsite;

    /**详细地址*/
    /**企业地址*/
    @ColumnWidth(12)
    @ExcelProperty(value = "企业地址" ,index = 22)
    private String detailedAddress;

    /**最新年报地址*/
    @ColumnWidth(17)
    @ExcelProperty(value = "最新年报地址" ,index = 23)
    private String addressOfTheLatestAnnualReport;

    /**经营范围*/
    @ColumnWidth(12)
    @ExcelProperty(value = "经营范围" ,index = 24)
    private String businessScope;

}
